<?php
$this->pageHeader = t('PAGE_HEADER_ACTIVATION', 'authorization');
$this->pageTitle = t('PAGE_TITLE_ACTIVATION', 'authorization');
?>
<div class="form">
    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'activation-form',
        'enableClientValidation' => true,
        'clientOptions' => array('validateOnSubmit' => true, 'validateOnType' => true)
            ));
    ?>    
    <table class="form" style="width: 100%">        
        <tr>
            <td class="label required"><?php echo $form->labelEx($model, 'email'); ?> </td>
            <td class="input">
                <?php echo $model->email ?>
            </td>
        </tr>
        <tr>
            <td class="label required"><?php echo $form->labelEx($model, 'username'); ?> </td>
            <td class="input">
                <?php echo $model->username ?>                 
            </td>
        </tr>
        <tr>
            <td class="label required"><?php echo $form->labelEx($model, 'password'); ?> </td>
            <td class="input">
                <?php echo $form->passwordField($model, 'password', array('style' => 'width:239px', 'placeholder' => 'Password')); ?>
                <?php echo $form->error($model, 'password'); ?>                   
            </td>
        </tr>
        <tr>
            <td class="label required"><?php echo $form->labelEx($model, 'confirm_password'); ?> </td>
            <td class="input">
                <?php echo $form->passwordField($model, 'confirm_password', array('style' => 'width:239px', 'placeholder' => 'Confirm Password')); ?>
                <?php echo $form->error($model, 'confirm_password'); ?>                   
            </td>
        </tr>
        <tr><td style="height: 30px;"></td></tr>
        <tr>
            <td colspan="2" class="cbutton" align="left">
              <table width="100%">
                    <tr>
                        <td class="label"></td>
                        <td align="left"><button id="btnSave" type="button" class="button" onclick="LGCMS.setTask('#activation-form', 'save')">Submit</button></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <?php $this->endWidget(); ?>
</div>
<script type="text/javascript">LGCMS.addTooltip();</script>